package com.tedu.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class AnnounceSaveParam {
    @ApiModelProperty(value = "公告id")
    private Integer id;
    @ApiModelProperty(value = "公告标题")
    private String title;
    @ApiModelProperty(value = "公告类型")
    private String type;
    @ApiModelProperty(value = "公告内容")
    private String content;
    @ApiModelProperty(value = "发布时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;
    @ApiModelProperty(value = "公告状态")
    private String status;
}
